A Stub Generation System for C++

نویسنده

  • Graham D. Parrington
چکیده

This paper describes the implementation of a Stub Generation system targeted specifically at C++. It enables distributed C++ applications to be constructed in a straightforward manner with minimal programmer assistance. The system does not require the use of an auxiliary interface definition language but instead processes existing C++ header files to maximise transparency. The generated code exploits the power of C++ by using operator overloading for parameter marshalling and constructors and destructors to drive the remote binding process. The system described here is fully implemented and can be obtained as part of the Arjuna programming system.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Platform-Specific Optimizations in Stub-Code Generation

The use of a stub code generator can greatly reduce the effort required to implement a multi-server system on top of a microkernel. However, stub code has traditionally been highly generic and therefore rather slow, which has prevented it from being used in performance-critical applications. In this work, we show that this restriction can be eliminated by specialization for the underlying platf...

متن کامل

Using Control Flow Analysis for Space and Time Efficient Stub Generation

A stub generator is a tool that automatically produces the communication software required for presentation conversion. An open problem in stub generation is finding the right trade-off between code size and execution speed of the generated code. The generation of tables that are interpreted at run-time leads to small but slow object code. The direct generation of program code leads to fast but...

متن کامل

Automatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution

JavaScript is expected to be a programming language of even wider use, considering demands for more interactive web/mobile applications. While reliability of JavaScript code will be of more importance, testing techniques for the language remain insufficient compared to other languages. We propose a technique to automatically generate high-coverage unit tests for JavaScript code. The technique m...

متن کامل

CTGEN - a Unit Test Generator for C

We present a new unit test generator for C code, CTGEN. It generates test data for C1 structural coverage and functional coverage based on pre-/post-condition specifications or internal assertions. The generator supports automated stub generation, and data to be returned by the stub to the unit under test (UUT) may be specified by means of constraints. The typical application field for CTGEN is...

متن کامل

DC++: distributed object-oriented system support on top of OSF DCE

The OSF Distributed Computing Environment (DCE) is becoming an industry standard for open distributed computing. However, DCE only supports client/server-style applications based on the remote procedure call (RPC) communication model. This paper describes the design and implementation of an extended distributed object-oriented environment, DC++, on top of DCE. As opposed to RPC, it supports a u...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Computing Systems

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1995